package cn.ddiancan.xddcloud.psc.base.domain;

import cn.ddiancan.xddcloud.common.entity.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName xdd_dept_t
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeptVO extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @Schema(description = "部门id")
    private String deptId;

    /**
     * 部门名称
     */
    @Schema(description = "部门名称")
    private String deptName;

    /**
     * 父级id
     */
    @Schema(description = "父级id")
    private String pid;

    /**
     * 状态（0:禁用 1:启用）
     */
    @Schema(description = "状态（0:禁用 1:启用）")
    private Integer status;

    /**
     * 顺序
     */
    @Schema(description = "顺序")
    private Integer sort;
}